#ifndef __ASSGLUTILS__H__
#define __ASSGLUTILS__H__

#include <string>
#include <wchar.h>

// GLM
#include <glm/glm.hpp>

#ifdef __cplusplus
extern "C" {
#endif


#define NOEXIST_STR                           "inexistence"

#define LOGINFO(str) std::cout << str << std::endl


std::string ReadConfig(const char *filename);

int char_to_wchar(wchar_t *pDest, const char *pSrc);

glm::vec2 Bezier2Point(glm::vec2 startPoint, glm::vec2 endPoint,
					   glm::vec2 controlPoint);

/**
 * @brief 将0:00:02.31格式的时间转换成ms
 * 
 * @param timeFormat 
 * @return unsigned long long 
 */
long long timeStrFormatToMs(std::string timeFormat);


#ifdef __cplusplus
}
#endif
#endif  //!__ASSGLUTILS__H__